@(formJogador: Form[Jogador])

@import helper._
@import helper.twitterBootstrap._

@mainCadastro("Inserir"){

        @form(action = routes.Ctrl_Jogador.salvarInserirLogin(), 'id -> "formDeInserir"){
                <fieldset>
                	<legend>
                    	<h3>Inserir</h3>
                    </legend>
                    
                    @if(flash.containsKey("erro")){
						<div class="alert alert-error">
							<a class="close" data-dismiss="alert">×</a>
							<b>@flash.get("erro")</b>
						</div>
					}
                    
                    @inputText(formJogador("login"), '_label -> "Login", 'placeholder -> "Login", 'id -> "loginForm", '_showConstraints -> false)
                    @inputPassword(formJogador("senha"), '_label -> "Senha", 'placeholder -> "Senha", 'id -> "senhaForm", '_showConstraints -> false)
                    @inputText(formJogador("nome"), '_label -> "Nome", 'placeholder -> "Nome", 'id -> "nomeForm", '_showConstraints -> false)
                    @inputText(formJogador("email"), '_label -> "Email", 'placeholder -> "Email", 'id -> "emailForm", '_showConstraints -> false)
                    @inputRadioGroup(formJogador("sexo"), options = options("M"->"Masculino","F"->"Feminino"), '_label -> "Sexo", '_showConstraints -> false)
                    
                    <div class="actions">
                    	<input type="submit" class="btn btn-primary" value="Enviar"/>
                    	<a href="/login" class="btn">Cancelar</a>
                	</div>
                </fieldset>
        }
}